package com.itmeima.d12_extends_override;

public class B extends A {
    @Override
    public void print1() {
        System.out.println("B print1");
    }

    //申明不变，参数重现
    @Override
    public void print2(int a, int b) {
        System.out.println("B print2");
    }


}
